<template>
<div>
    <div class="common-form">
      <span>{{curItem.name}}</span>
    </div>
    <el-form size="small" :model="curItem" label-width="100px">
      <el-form-item :label="$t('page.placeholder_text')">
        <el-input v-model="curItem.params.placeholder"></el-input>
      </el-form-item>
      <el-form-item :label="$t('page.search_box_style')">
        <el-radio-group v-model="curItem.style.searchStyle">
          <el-radio :label="3">{{$t('page.shape_square')}}</el-radio>
          <el-radio :label="6">{{$t('page.shape_rounded')}}</el-radio>
          <el-radio :label="9">{{$t('page.shape_arc')}}</el-radio>
        </el-radio-group>
      </el-form-item>
      <el-form-item :label="$t('page.text_align')">
        <el-radio-group v-model="curItem.style.textAlign">
          <el-radio :label="3">{{$t('page.align_left')}}</el-radio>
          <el-radio :label="6">{{$t('page.align_center')}}</el-radio>
          <el-radio :label="9">{{$t('page.align_right')}}</el-radio>
        </el-radio-group>
      </el-form-item>
    </el-form>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  props: ["curItem"],
  methods: {}
};
</script>

